<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
	<head>
		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
		<meta http-equiv="description" content="This is my page">
		<link href="<%=path%>/css/main.css" rel="stylesheet" type="text/css" />
		<link href="<%=path%>/css/dialog.css" rel="stylesheet" type="text/css" />
		<script language="javascript" type="text/javascript">
			function goback(servlet){
				var url="<%=path%>/infopub/"+servlet;
				location.href = url;
			}
			
			function downloadFile(pkFile,fileName){
				var url="<%=path%>/ebvpfile/download?pk_file="+pkFile+"&file_name="+fileName;
				location.href = url;
			}
		</script>
	</head>
	<body class="fullbody">
		<div class="main">
			<div class="context">
				<div class="position">
					<div class="tposi">
						当前位置：
						<a href="<%=path%>/infopub/pubmain" class="linkstyle">首页</a>&nbsp;&gt;&gt;&nbsp;
						<span class="curposition">预警信息</span>
					</div>
				</div>
				<div class="margin8"></div>
				<div class="subpage_title">
					<div class="title_index">
						<img src="<%=path%>/images/common/dot03.gif" alt="" border="0" />
						&nbsp;预警详细信息
					</div>
				</div>
				<div class="worklist">
					<div class="wlcontent">
						 <table border="0" cellpadding="0" cellspacing="0" class="searchtable">
						 	<tr>
						 		<td class="w_1">标题：</td>
						 		<td colspan="3" class="w_2">${preAlertForm.subject}</td>
						 	</tr>
						 	<tr>
						 		<td class="w_1">发送人：</td>
						 		<td class="w_2">预警平台</td>
						 		<td class="w_1">发送时间：</td>
						 		<td class="w_2">${preAlertForm.sendTime}</td>
						 	</tr>
						 	<tr>
						 		<td class="w_1">内容：</td>
						 		<td colspan="3" class="w_2">${preAlertForm.content}</td>
						 	</tr>
<!--						 	<tr>-->
<!--						 		<td class="w_1">附件：</td>-->
<!--						 		<td colspan="3" class="w_2">-->
<!--						 			<c:if test="${preAlertForm!=null}">-->
<!--							 			<c:if test="${preAlertForm.attachList!=null}">-->
<!--											<c:forEach items="${preAlertForm.attachList}" var="attach">-->
<!--												<div class="article">-->
<!--													${attach.filename}-->
<!--													<input type="button" class="buttondel" value="下载" onclick="downloadFile('${attach.pk_file}','${attach.filename}');" />-->
<!--												</div>-->
<!--											</c:forEach>-->
<!--										</c:if>-->
<!--									</c:if>-->
<!--						 		</td>-->
<!--						 	</tr>-->
						 </table>
					</div>
				</div>
			</div>
   		    <div class="margin20"></div>
			<div align="center">
		 		<input type="button" class="btnscs" value="返回" onclick="goback('${servlet}')" />
			</div>
		</div>
		<div class="left2">
			<img src="<%=path%>/images/conner/c_01.png" alt="" />
		</div>
		<div class="right2">
			<img src="<%=path%>/images/conner/d_01.png" alt="" />
		</div>
		<div class="margin20"></div>
	</body>
</html>
